<link rel="stylesheet" href="ccay/example/demo.css"  type="text/css" />
<script type="text/javascript" src="ccay/example/demo.js" charset="utf-8"></script>
<script type="text/javascript" src="ccay/example/functionDemo/roleManage/grantOperation2Role.js" charset="utf-8" ></script>
<script type="text/javascript" src="ccay/js/ui/plugins/tree/ccayTree.js" charset="utf-8" ></script>

<form id="roleViewForm" class="init ccay-form">

		<input type="hidden"  name="roleId" id="roleId" />
		<input type="hidden"  name="currentIndex" id="currentIndex" />
		<input type="hidden"  name="currentResourceType" id="currentResourceType" />
		<!--内容显示区域-->
		<div class="ccay-form-body">
			<ul>
				<li class="ccay-form-row" >
					<samp class="i18n" i18nKey="ccay.security.label.roleName"></samp>
					<span class='ccay-form-input'><label id="roleName" ></label></span>
				</li>
			</ul>
		</div>
		<div class="ccay-form-custom">
			<ul>
				<li class="ccay-form-row">
					<samp class="i18n" i18nKey="ccay.common.label.description"></samp>
					<span class='ccay-form-input'><label id="roleDesc" ></label></span>
				</li>
			</ul>
		</div>
</form>			
<div id="operationTabs"> 
	<div id="operationTabs-0">
		<div id = "tabledivButtons" style="display: none">
			<input type=button  onclick="Ccay.example.functionDemo.roleManage.showMsg(this)" class="i18n hasPermission" 
			i18nKey="ccay.security.label.roleSynchronizePermission"  ccayPermission="Service$Security.operation$update"/>
			<input type=button  onclick="Ccay.example.functionDemo.roleManage.GrantOperation2Role.deleteUselessOperationDefinitions()" class="i18n hasPermission" 
			i18nKey="ccay.security.label.roleDeletePermission"  ccayPermission="Service$Security.operation$delete"/> 
		</div>
		<div id="operationTabs-0-body"></div>
	</div>
  	</div>

<div class="ccay-operate">
	<span class="ccay-button hasPermission" ccayPermission="Service$Role$update|Service$Security.operation$create" onclick="Ccay.example.functionDemo.roleManage.showMsg(this)">
		<a class="ccay-icon save"></a>
		<label class="i18n" i18nKey="ccay.common.button.save"></label>
	</span>
	<span class="ccay-button" onclick="Ccay.example.functionDemo.roleManage.closeTab()">
		<a class="ccay-icon back"></a>
		<label class="i18n" i18nKey="ccay.common.button.back"></label>
	</span>
	
	<!-- <input type=button  onclick="Ccay.example.functionDemo.roleManage.showMsg(this)" 
	class="i18n hasPermission jbutton" i18nKey="ccay.common.button.save" ccayPermission="Service$Role$update" ccayPermission="Service$Security.operation$create"/>
	<input type=button  onclick="Ccay.example.functionDemo.roleManage.closeTab()" class="i18n jbutton" i18nKey="ccay.common.button.back"/> -->
</div>